package com.CST.entity.ys;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellen
 * @since 2023-04-27
 */
@Getter
@Setter
@TableName("YS_APPEAL_RECORD")
@ApiModel(value = "YsAppealRecord对象", description = "申诉记录实体类")
public class YsAppealRecord implements Serializable{

    private static final long serialVersionUID = 1L;
    @TableId(type= IdType.AUTO)
    private Long id;

    @TableField("SOURCE")
    @ApiModelProperty("申诉板块来源")
    private Integer source;

    @TableField("NUM")
    @ApiModelProperty("预算执行明细的编码 主键")
    private Integer num;

    @ApiModelProperty("备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty("处理人")
    @TableField("HANDLER")
    private String handler;

    @ApiModelProperty("状态 0 待处理，1已驳回 ，2已修正")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty("申诉时间")
    @TableField("APPEAL_TIME")
    private LocalDateTime appealTime;

    @TableField("APPEALER")
    @ApiModelProperty("申诉人")
    private String appealer;

    @ApiModelProperty("建议")
    @TableField("ADVICE")
    private String advice;

    @ApiModelProperty("处理时间")
    @TableField("HANDLE_TIME")
    private LocalDateTime handleTime;

    @TableField("FILE_ADDR")
    @ApiModelProperty("文件地址")
    private String fileAddr;

    @TableField("YARD")
    @ApiModelProperty("院区")
    private Integer yard;

    @TableField("SUBJECT_ID")
    @ApiModelProperty("预算科目类型")
    private Integer subjectID;
}
